[INFO] fetching crate sql-rs 0.1.1...
[INFO] fixing sql-rs-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate sql-rs 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate sql-rs 0.1.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate sql-rs 0.1.1
[INFO] tweaked toml for crates.io crate sql-rs 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sql-rs 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate sql-rs 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561
[INFO] running `Command { std: "docker" "start" "8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling zerocopy v0.8.38
[INFO] [stderr]     Checking clap_lex v0.7.7
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking clap_builder v4.5.57
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerocopy-derive v0.8.38
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.5.57
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking sql-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `cache_ttl` is never read
[INFO] [stdout]   --> src/vector/store.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct VectorStore<S: Storage> {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     cache_ttl: Duration,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stdout] error[E0432]: unresolved import `sql_rs::QuantizedVector`
[INFO] [stdout]  --> benches/vector_benchmarks.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sql_rs::{DistanceMetric, QuantizedVector, Vector, VectorCollection};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^ no `QuantizedVector` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           sql_rs::vector::QuantizedVector
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> benches/vector_benchmarks.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filtered`
[INFO] [stdout]   --> examples/vector_benchmark.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let filtered = collection.search_by_metadata(&query, 10, "batch", "benchmark")?;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distance` found for struct `Vec<f32>` in the current scope
[INFO] [stdout]    --> benches/vector_benchmarks.rs:174:24
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     v1.distance(&v2, DistanceMetric::Cosine);
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `Vec<f32>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vector/similarity.rs:11:8
[INFO] [stdout]     |
[INFO] [stdout]  11 |     fn distance(&self, other: &[f32], metric: DistanceMetric) -> f32;
[INFO] [stdout]     |        -------- the method is available for `Vec<f32>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Distance` which provides `distance` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sql_rs::vector::Distance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distance` found for struct `Vec<f32>` in the current scope
[INFO] [stdout]    --> benches/vector_benchmarks.rs:184:24
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     v1.distance(&v2, DistanceMetric::Euclidean);
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `Vec<f32>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vector/similarity.rs:11:8
[INFO] [stdout]     |
[INFO] [stdout]  11 |     fn distance(&self, other: &[f32], metric: DistanceMetric) -> f32;
[INFO] [stdout]     |        -------- the method is available for `Vec<f32>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Distance` which provides `distance` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sql_rs::vector::Distance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distance` found for struct `Vec<f32>` in the current scope
[INFO] [stdout]    --> benches/vector_benchmarks.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |                     v1.distance(&v2, DistanceMetric::DotProduct);
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `Vec<f32>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vector/similarity.rs:11:8
[INFO] [stdout]     |
[INFO] [stdout]  11 |     fn distance(&self, other: &[f32], metric: DistanceMetric) -> f32;
[INFO] [stdout]     |        -------- the method is available for `Vec<f32>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Distance` which provides `distance` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sql_rs::vector::Distance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `FnMut(&mut Bencher<'_>, &usize)` closure, found `&usize`
[INFO] [stdout]    --> benches/vector_benchmarks.rs:235:14
[INFO] [stdout]     |
[INFO] [stdout] 232 |         group.bench_with_input(
[INFO] [stdout]     |               ---------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 235 |             &dimension,
[INFO] [stdout]     |              ^^^^^^^^^ expected an `FnMut(&mut Bencher<'_>, &usize)` closure, found `&usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `for<'a, 'b, 'c> Fn(&'a mut Bencher<'b>, &'c usize)` is not implemented for `usize`
[INFO] [stdout]     = note: required for `&usize` to implement `for<'a, 'b, 'c> FnMut(&'a mut Bencher<'b>, &'c usize)`
[INFO] [stdout] note: required by a bound in `BenchmarkGroup::<'a, M>::bench_with_input`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/benchmark_group.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn bench_with_input<ID: IntoBenchmarkId, F, I>(
[INFO] [stdout]     |            ---------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 266 |         F: FnMut(&mut Bencher<'_, M>, &I),
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `BenchmarkGroup::<'a, M>::bench_with_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `FnOnce(&mut Bencher<'_>, &usize)` closure, found `usize`
[INFO] [stdout]    --> benches/vector_benchmarks.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |         group.bench_with_input(
[INFO] [stdout]     |               ---------------- required by a bound introduced by this call
[INFO] [stdout] ...
[INFO] [stdout] 235 |             &dimension,
[INFO] [stdout]     |             ^^^^^^^^^^ expected an `FnOnce(&mut Bencher<'_>, &usize)` closure, found `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `for<'a, 'b, 'c> FnOnce(&'a mut Bencher<'b>, &'c usize)` is not implemented for `usize`
[INFO] [stdout] note: required by a bound in `BenchmarkGroup::<'a, M>::bench_with_input`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/benchmark_group.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn bench_with_input<ID: IntoBenchmarkId, F, I>(
[INFO] [stdout]     |            ---------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 266 |         F: FnMut(&mut Bencher<'_, M>, &I),
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `BenchmarkGroup::<'a, M>::bench_with_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]    --> benches/vector_benchmarks.rs:232:15
[INFO] [stdout]     |
[INFO] [stdout] 232 |           group.bench_with_input(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 | /             |b, _| {
[INFO] [stdout] 237 | |                 b.iter(|| {
[INFO] [stdout] 238 | |                     let _: usize = quantized_8bit
[INFO] [stdout] 239 | |                         .iter()
[INFO] [stdout] ...   |
[INFO] [stdout] 242 | |                 })
[INFO] [stdout] 243 | |             },
[INFO] [stdout]     | |_____________- unexpected argument #4
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/benchmark_group.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn bench_with_input<ID: IntoBenchmarkId, F, I>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 235 -             &dimension,
[INFO] [stdout] 236 -             |b, _| {
[INFO] [stdout] 237 -                 b.iter(|| {
[INFO] [stdout] 238 -                     let _: usize = quantized_8bit
[INFO] [stdout] 239 -                         .iter()
[INFO] [stdout] 240 -                         .map(|q| q.memory_usage())
[INFO] [stdout] 241 -                         .sum::<usize>();
[INFO] [stdout] 242 -                 })
[INFO] [stdout] 243 -             },
[INFO] [stdout] 235 +             &dimension,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `perf_results`
[INFO] [stdout]    --> examples/vector_demo.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let perf_results = vector_store.search("performance_test", &perf_query, 10)?;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_perf_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sql-rs` (bench "vector_benchmarks") due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `cache_ttl` is never read
[INFO] [stdout]   --> src/vector/store.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct VectorStore<S: Storage> {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     cache_ttl: Duration,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561", kill_on_drop: false }`
[INFO] [stdout] 8c5ef3e52dbd00c5e2a47a8aeb2c42a9143868d086e53c2913a937b24006c561
